package xin.core.jpa.model;


import xin.core.jpa.JpaConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Cacheable;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
@Cacheable
@Data
@ToString(callSuper=true)
@EqualsAndHashCode(callSuper = true, of = {})
public abstract class TreeUUIDEntity<T> extends SimpleTreeUUIDEntity<T> {

	protected Boolean leaf;

	@Column(length = JpaConstant.TreeIconColumnLength)
	protected String icon;
}
